package com.tencent.wxcloudrun.service;

import com.tencent.wxcloudrun.model.Comment;
import com.tencent.wxcloudrun.model.Post;

import java.util.List;

/**
 * @author lichongbing
 * @version 1.0.0
 * @createdate 2023/2/18 15:18
 * @description: TODO
 */
public interface CommentService {
    public int addComent(Comment comment);

    List<Comment> getcomment(int page, int limit, int postid);

    List<Post> getcommentByOpenid(String openid);

    List<Post> getpostmylikeByOpenid(String openid);

    int updateaddressbyopenid(String openid, String address, String town, int id);
}
